<?php
/**
 * 产品大类别block文件
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2006 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	largess
 */
if (is_object($objWebInit)) {
	if(!isset($objlargess)){
		include_once(__WEB_ROOT."/largess/class/largess.class.php");
		$objlargess =& new largess();
		$objlargess->arrGPdoDB = $arrGPdoDB;
		if(is_object($objWebInit->db)) $objlargess->db = $objWebInit->db;
		else $objlargess->db();
	}
	$arrTopInfo = array();
	$arrTopInfo = $objlargess->getTypeList("where type_parentid = '0'",' order by initial,type_sort desc');

	// 输出到模板
	$arrMOutput["smarty_assign"]['arrlargessType'] = $arrTopInfo;
}
?>